package com.fsdcic.box.util.sql.rest;

public class BetweenRest extends BaseRest {

	public BetweenRest() {
		super.setType(BaseRest.REST_BETWEEN);
	}

	public BetweenRest(String columnName, String firstParam, String firstTab,String secondParam, String secondTab, boolean isRequire) {
		super.setType(BaseRest.REST_BETWEEN);
		this.columnName = columnName;
		this.firstParam = firstParam;
		this.firstTab = firstTab;
		this.secondParam = secondParam;
		this.secondTab = secondTab;
		this.isRequire = isRequire;
	}

	private String columnName;
	private String firstParam;
	private String firstTab;
	private String secondParam;
	private String secondTab;
	private boolean isRequire;
	
	
	public boolean isRequire() {
		return isRequire;
	}



	public void setRequire(boolean isRequire) {
		this.isRequire = isRequire;
	}



	public String getColumnName() {
		return columnName;
	}
	public void setColumnName(String columnName) {
		this.columnName = columnName;
	}
	public String getFirstParam() {
		return firstParam;
	}
	public void setFirstParam(String firstParam) {
		this.firstParam = firstParam;
	}
	public String getFirstTab() {
		return firstTab;
	}
	public void setFirstTab(String firstTab) {
		this.firstTab = firstTab;
	}
	public String getSecondParam() {
		return secondParam;
	}
	public void setSecondParam(String secondParam) {
		this.secondParam = secondParam;
	}
	public String getSecondTab() {
		return secondTab;
	}
	public void setSecondTab(String secondTab) {
		this.secondTab = secondTab;
	}
}
